﻿
namespace MyFurion.Unility.Const
{
    public class ErrorMsgConst
    {
        /// <summary>
        /// 登录失败提示
        /// </summary>
        public const string LoginError = "用户名或密码不正确";
        /// <summary>
        /// 账号已存在错误提示
        /// </summary>
        public const string AccountExist = "账号已存在";
        /// <summary>
        /// 旧密码错误提示
        /// </summary>
        public const string OldPwdError = "旧密码输入错误";
        /// <summary>
        /// 账号已冻结
        /// </summary>
        public const string AccountDisable = "账号已冻结";
        /// <summary>
        /// 禁止删除自己提示
        /// </summary>
        public const string DeleteSelf = "非法操作，禁止删除自己";

        /// <summary>
        /// 保存失败提示
        /// </summary>
        public const string SaveError = "保存失败";
        /// <summary>
        /// 删除失败提示
        /// </summary>
        public const string DeleteError = "删除失败";
        /// <summary>
        /// 数据已存在提示
        /// </summary>
        public const string ExistError = "数据已存在";
        /// <summary>
        /// 记录不存在提示
        /// </summary>
        public const string NoRecord = "记录不存在";

        /// <summary>
        /// 状态更新失败提示
        /// </summary>
        public const string StatusError = "状态更新失败";

        /// <summary>
        /// 禁止删除系统参数
        /// </summary>
        public const string DelConfig = "禁止删除系统参数";
        /// <summary>
        /// 未定义的数据，主要用于枚举类型的判断
        /// </summary>
        public const string NotDefined = "未定义的{0}";


    }
}
